#ifndef WL_KEYBOARD_H
#define WL_KEYBOARD_H
//******************************************************************************
//*this code is protected by the GNU affero GPLv3
//*author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
//*                        <digital.ragnarok AT gmail dot com>
//******************************************************************************
s8 wl_keyboard_req(struct client *c,s32 keyboard_slot,struct msg *m);
s8 wl_keyboard_ev_keymap(struct client *c,u32 keyboard_id,u32 fmt,i fd,u32 sz);
s8 wl_keyboard_ev_enter(struct client *c,u32 keyboard_id,u32 serial,
                                                      u32 surface_id,u32 *keys);
s8 wl_keyboard_ev_leave(struct client *c,u32 keyboard_id,u32 serial,
                                                                u32 surface_id);
s8 wl_keyboard_ev_key(struct client *c,u32 keyboard_id,u32 serial,u32 time,
                                                             u32 key,u32 state);
s8 wl_keyboard_ev_modifiers(struct client *c,u32 keyboard_id,u32 serial,
                 u32 mods_depressed,u32 mods_latched,u32 mods_locked,u32 group);
#endif
